package com.happy.bean;
import java.util.Date;
import java.math.BigDecimal;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.PK;
import org.nutz.dao.entity.annotation.Table;
import com.happy.framework.asyncdb.AsynDBEntity;
import com.happy.framework.asyncdb.annotation.Persistent;
import com.happy.manager.${db.tableName}Manager;
 /**
*  ${db.tableNote}-实体  
* @author ${author}
* @date ${dateTime}
* @version ${version}
 */
public class ${db.tableName} extends AsynDBEntity {
	<%
	for(classfield in db.classfields){
	        print("	/***"+" "+classfield.fieldNote+"**/  \n");
	        print("	@Column(\""+classfield.fieldName+"\") \n");
	        print("	@Comment(\""+classfield.fieldNote+"\") \n");
	        print("	private"+" "+classfield.fieldType+" "+classfield.fieldName+";");
	        print("\n");
	
	}
	%>
	${setAndGet(db.classfields)}
}